package com.yc.jpyy.oadocitem.service;

import java.sql.Date;
import java.util.List;
import java.util.Map;


import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.bean.RestResponse;
import com.yc.jpyy.base.util.PageBean;

public interface OADocItemService {

	int addOADocItemService(Map<String, Object> paramsMap) throws DataAccessException;

	int updateOADocItemService(Map<String, Object> paramsMap) throws DataAccessException;

	
	int delOADocItemService(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findOADocItemByIDServer(Map<String, Object> paramsMap) throws DataAccessException;
	
	//分页查询
    PageBean findOADocItemService(Map<String, Object> paramsMap)throws DataAccessException;
    //查询总数
    int findCountOADocItemService(Map<String, Object> paramsMap)throws DataAccessException;
    
    //催文
    int updateOADocItemUserIDStatusService(Map<String, Object> paramsMap) throws DataAccessException;
	
    
    int updateOADocItemStatusService(Map<String, Object> paramsMap) throws DataAccessException;
    
    int updateOADocItemStatusOnetoXService(Map<String, Object> paramsMap) throws DataAccessException;
    
    
    List<Map<String, Object>> findOADocItemByParentidService(Map<String, Object> paramsMap)throws DataAccessException;

    Map<String, Object> updateOadocItemStatusById(Map<String, Object> paramsMap)throws DataAccessException;
}